import defaultHttp from "@/utils/request.js";
export const carouselAdd = (data) => {
  return defaultHttp({
    url: "/carousel/add",
    method: "post",
    data,
  });
};

export const carouselEdit = (data) => {
  return defaultHttp({
    url: "/carousel/edit",
    method: "post",
    data,
  });
};
export const carouselList = (data) => {
  return defaultHttp({
    url: "/carousel/list",
    method: "post",
    data
  });
};
export const carouselDelete = (data) => {
  return defaultHttp({
    url: "/carousel/delete",
    method: "post",
    data,
  });
};
